package com.baizhi.mapper;

import com.baizhi.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserMapper<map> {
    public List<User> selectPage(@Param("offset") Integer offset,@Param("limit") Integer limit,@Param("option") String option,@Param("search") String search);
    public Integer count(String option, String search);
    public User selectById(Integer id);
    public void update(User user);
    public List<Map> manCount();
    public List<Map> weekCount();
    public List<Map> provinceCount();
}
